if(${CONFIG_INTERNAL_OS_SPIN_LOCK})
    add_library_ex(prt_spinlock.c)
endif()